package com.gxa.pingan.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel("这是一个汽车品牌实体类")

public class CarBrand implements Serializable {

    @ApiModelProperty(name = "id",value = "id")
    private  Long id;

    @ApiModelProperty(name = "brandName" ,value = "brandName",notes = "品牌名称")
    private  String  brandName;

    /**
     * 品牌的对应系列  1对多
     */
    List<CarSeries> carSeriesList;
}
